﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace SF.Base.Core {
	[JsonObject(MemberSerialization.OptIn)]
	public class DictEntity {
		/// <summary>
		/// 数字ID，自增列
		/// </summary>
		[JsonProperty(PropertyName = "did")]
		public long Did {
			get;
			set;
		}
		
		/// <summary>
		/// 文本ID，GUID
		/// </summary>
		public string DictId {
			get;
			set;
		}
		
		/// <summary>
		/// 首字母
		/// </summary>
		public string Initial {
			get;
			set;
		}
		
		/// <summary>
		/// 美式拼写
		/// </summary>
		[JsonProperty(PropertyName = "spell")]
		public string ASpell {
			get;
			set;
		}
		
		/// <summary>
		/// 美式音标
		/// </summary>
		public string APronunciation {
			get;
			set;
		}
		
		/// <summary>
		/// 美式音节
		/// </summary>
		public string ASyllable {
			get;
			set;
		}
		
		/// <summary>
		/// 英式拼写
		/// </summary>
		public string ESpell {
			get;
			set;
		}
		
		/// <summary>
		/// 英式音标
		/// </summary>
		public string EPronunciation {
			get;
			set;
		}
		
		/// <summary>
		/// 英式音节
		/// </summary>
		public string ESyllable {
			get;
			set;
		}
		
		/// <summary>
		/// 使用频率
		/// </summary>
		public int Frequency {
			get;
			set;
		}

		
		/// <summary>
		/// 解释
		/// </summary>
		[JsonProperty(PropertyName = "ph")]
		public string Paraphrase {
			get;
			set;
		}
		
		/// <summary>
		/// 评论
		/// </summary>
		public string Commentate {
			get;
			set;
		}

		/// <summary>
		/// 状态
		/// </summary>
		public int Status{
			get;
			set;
		}

		/// <summary>
		/// 父节点ID
		/// </summary>
		public string ParentId{
			get;
			set;
		}

		public VocabularyEntity Vocabulary{
			get;
			set;
		}
		[JsonProperty(PropertyName = "vid")]
		public long Vid{
			get;
			set;
		}
		[JsonProperty(PropertyName = "name")]
		public string VocabularyName{
			get;
			set;
		}

		public int IsDelete{
			get;
			set;
		}

		public string EditType{
			get;
			set;
		}

		public int RelationOrder{
			get;
			set;
		}
	}
}
